-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch Docker images to UBI #6427
Switch Docker images to UBI #6427
Conversation
This pull request does not have a backport label. Could you fix it @pkoutsovasilis? 🙏
|
|
9468df4
to
b1d8da5
Compare
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
7dc5f5d
to
c7663c2
Compare
Removing backport label as this change should remain on main. |
# - security: impacts on the security of a product or a user’s deployment. | ||
# - upgrade: important information for someone upgrading from a prior version | ||
# - other: does not fit into any of the other categories | ||
kind: feature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we want to mark it as a breaking change? While technically this probably is not a breaking change, changing the base image from Ubuntu (based on Debian and deb packages) to UBI (based on Red Hat and rpm packages) is quite significant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @andrzej-stencel this is more than a valid point! Evidently when I did the initial "assessment" in my head I perceived this as a more lightweight change, but reading again your point I agree 100%. I just pushed a commit marking this PR as a breaking change 🙂
@rdner since you have went through the same process for the wolfi-based images I would really appreciate you having a look on this PR 🙂 |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me, I'm ready to approve once I get the confirmation that the UBI-based complete image is tested.
What does this PR do?
This PR replaces the default Ubuntu-based Docker images for Elastic-Agent with UBI-minimal-based images. It updates the packaging files, Docker templates, and configuration to ensure compatibility with UBI-minimal images. The
-ubi
suffixed images are not removed to maintain compatibility with the unified-release and ECK. In the image below is shown that theelastic-agent
andelastic-agent-ubi
have the same hashWhy is it important?
Switching to UBI-minimal-based images reduces the overall footprint of the Elastic-Agent Docker images and improves compliance with enterprise standards.
Checklist
./changelog/fragments
using the changelog toolDisruptive User Impact
The changes should not cause any disruption for most users, as functionality is preserved. However, users relying on Ubuntu-specific dependencies in custom configurations or extensions may need to adjust their setups to ensure compatibility with UBI-minimal.
How to test this PR locally
Related issues
N/A